import request from '@/utils/request'
export default {
  //列表查询
  queryList (params) {
    return request({
      url: '/portalWebsite/loginHistory/queryList',
      method: 'get',
      params
    })
  },
  //分页查询
  queryPageList (params) {
    return request({
      url: '/portalWebsite/loginHistory/queryPageList',
      method: 'get',
      params
    })
  },
  //主键删除接口
  del (id) {
    return request({
      url: '/portalWebsite/loginHistory/del',
      method: 'post',
      data: {
        loginHistoryId: id
      }
    })
  },
  //主键批量删除接口
  delList (idList) {
    return request({
      url: '/portalWebsite/loginHistory/delList',
      method: 'post',
      data: {
        loginHistoryidList: idList
      }
    })
  }
}